package org.zfes.snowier.cloud.zbss.cms.content.dto;

public class CmsContentQueryDto {

	@javax.validation.constraints.NotNull(message="内容ID不能为空")
    private java.lang.Long id;
	
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="内容标题长度不能大于255")
    private java.lang.String title;
	
    private java.lang.Byte istop;
    private java.lang.Integer topPosition;
 
	@javax.validation.constraints.NotNull(message="名称不能为空")
	@javax.validation.constraints.NotBlank(message="名称不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=20,message="名称长度不能大于20")
    private java.lang.String typeName;
	 
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="作者长度不能大于100")
    private java.lang.String author;
	
	private java.lang.Integer viewCount;
	
	@javax.validation.constraints.NotNull(message="状态不能为空")
	private java.lang.Byte status;
	 
	private java.util.Date publishTime;

	//==============================================================
	public java.lang.Long getId() {
		return id;
	}

	public void setId(java.lang.Long id) {
		this.id = id;
	}

	public java.lang.String getTitle() {
		return title;
	}

	public void setTitle(java.lang.String title) {
		this.title = title;
	}

	public java.lang.Byte getIstop() {
		return istop;
	}

	public void setIstop(java.lang.Byte istop) {
		this.istop = istop;
	}

	public java.lang.Integer getTopPosition() {
		return topPosition;
	}

	public void setTopPosition(java.lang.Integer topPosition) {
		this.topPosition = topPosition;
	}

	public java.lang.String getTypeName() {
		return typeName;
	}

	public void setTypeName(java.lang.String typeName) {
		this.typeName = typeName;
	}

	public java.lang.String getAuthor() {
		return author;
	}

	public void setAuthor(java.lang.String author) {
		this.author = author;
	}

	public java.lang.Integer getViewCount() {
		return viewCount;
	}

	public void setViewCount(java.lang.Integer viewCount) {
		this.viewCount = viewCount;
	}

	public java.lang.Byte getStatus() {
		return status;
	}

	public void setStatus(java.lang.Byte status) {
		this.status = status;
	}

	public java.util.Date getPublishTime() {
		return publishTime;
	}

	public void setPublishTime(java.util.Date publishTime) {
		this.publishTime = publishTime;
	}
	 	
	 
	
	  
	
}
